package cn.iocoder.yudao.module.eval.controller.admin.subject.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 设置科目考试安排 Request VO")
@Data
public class EvalSubjectScheduleReqVO {

    @Schema(description = "考试开始时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024-04-01 09:00:00")
    @NotNull(message = "考试开始时间不能为空")
    private LocalDateTime examStartTime;

    @Schema(description = "考试结束时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024-04-01 11:00:00")
    @NotNull(message = "考试结束时间不能为空")
    private LocalDateTime examEndTime;

    @Schema(description = "考试地点", example = "培训中心201室")
    private String examLocation;

    @Schema(description = "考试时长（分钟）", example = "120")
    private Integer examDuration;

    @Schema(description = "备注", example = "请提前30分钟到场")
    private String remarks;

}
